<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>授权</title>
    <link href="https://cdn.bootcss.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
</head>
<body>
<div class="container">
    <h2>您是否授权访问您的个人资料?</h2>
    <div style="height: 20px;"></div>
    <div class="row">
        <div class="col-md-1">
            <form id="confirmationForm" name="confirmationForm"
                  action="../echo-auth-server/oauth/authorize" method="post">
                <input name="user_oauth_approval" value="true" type="hidden"/>
                <input name="scope.all" value="true" type="hidden"/>
                <button class="btn btn-primary" type="submit">同意</button>
            </form>
        </div>
        <div class="col-md-1">
            <form id="denyForm" name="confirmationForm"
                  action="../echo-auth-server/oauth/authorize" method="post">
                <input name="user_oauth_approval" value="false" type="hidden"/>
                <input name="scope.all" value="false" type="hidden"/>
                <button class="btn btn-primary" type="submit">拒绝</button>
            </form>
        </div>
    </div>
</div>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"  crossorigin="anonymous"></script>
<script src="https://cdn.bootcss.com/bootstrap/4.1.1/js/bootstrap.min.js" crossorigin="anonymous"></script>
</body>
</html>